package com.migo.service.impl;

import com.migo.dao.FirmwareZipDao;
import com.migo.entity.FirmwareZipEntity;
import com.migo.service.FirmwareZipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("firmwareZipService")
public class FirmwareZipServiceImpl implements FirmwareZipService {
	@Autowired
	private FirmwareZipDao firmwareZipDao;
	
	@Override
	public FirmwareZipEntity queryObject(Integer id){
		return firmwareZipDao.queryObject(id);
	}
	
	@Override
	public List<FirmwareZipEntity> queryList(Map<String, Object> map){
		return firmwareZipDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return firmwareZipDao.queryTotal(map);
	}
	
	@Override
	public void save(FirmwareZipEntity firmwareZip){
		firmwareZipDao.save(firmwareZip);
	}
	
	@Override
	public void update(FirmwareZipEntity firmwareZip){
		firmwareZipDao.update(firmwareZip);
	}
	
	@Override
	public void delete(Integer id){
		firmwareZipDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		firmwareZipDao.deleteBatch(ids);
	}

	@Override
	public List<FirmwareZipEntity> queryFirmwareList(Map<String, String> map) {
		return firmwareZipDao.queryFirmwareList(map);
	}

	@Override
	public List<FirmwareZipEntity> queryModelList(Map<String, String> map) {
		return firmwareZipDao.queryModelList(map);
	}

	@Override
	public List<FirmwareZipEntity> queryFirmwareObjects(Map<String, String> map) {
		return firmwareZipDao.queryFirmwareObjects(map);
	}

	@Override
	public List<Map<String, Object>> queryNextVersionList(Map<String, String> map) {
		return firmwareZipDao.queryNextVersionList(map);
	}

	@Override
	public List<Map<String, Object>> queryFirmwareMap(Map<String, String> map) {
		return firmwareZipDao.queryFirmwareMap(map);
	}

	@Override
	public String queryVersionTime(Map<String, String> map) {
		return firmwareZipDao.queryVersionTime(map);
	}

	@Override
	public List<Map<String, Object>> queryMaxVersionList(Map<String, String> map) {
		return firmwareZipDao.queryMaxVersionList(map);
	}

}
